package com.rules.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gillion.grule.client.core.variable.PackageVariable;

import com.rules.admin.entity.RuleVariable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RuleVariableService extends IService<RuleVariable> {
   PackageVariable loadCompletelyPackageVaribles(Long var1);

   List<RuleVariable> loadAssemblyVariablesById(Long var1);

   List<RuleVariable> loadRuleVariablesById(Long var1);

   List<RuleVariable> loadPackageVariables(int var1, long var2);

   List<RuleVariable> getByScopeAndScopeId(int var1, Long var2);

   void deleteVariables(int var1, Long var2);

   List<RuleVariable> loadDecisionTableVariables(Long var1);

   List<RuleVariable> loadDecisionTreeVariables(Long var1);

    List<RuleVariable> getByScopeId(Long scopeId);
}
